﻿<div class="wrapper">
    <div class="logo">
        <img src="content/images/logo.png" style="width: 500px;">
    </div>
    <div class="login-form">
        <div class="login-form-inner">
            <form name="forgotPasswordForm">
                <div class="login-title">Reset Password</div>
                <div class="login-text">
                    To reset your password, enter the email address<br />you use to sign in to  Sustainalytics&apos; global<br />platform and press submit
                </div><br /><br />
                <div style="margin: 0 auto; display: inline-block;">
                    <div class="login-form-left">
                        <div class="input-label" style="width: auto;">Email</div>
                        <div class="input-holder"><input id="forgotPasswordBox" type="text" class="inp" data-ng-model="auth.usercredentials.forgotPasswordEmail" required></div>
                    </div>
                    <div class="login-form-right">
                        <button id="submitButton" class="btn-green forg_btn" data-ng-click="auth.forgotPassword()" data-ng-disabled="forgotPasswordForm.$invalid" ng-class="auth.submitClass">
                            <span ng-if="auth.submitClass == null">Send Reset Instructions</span>
                            <span ng-if="auth.submitClass != null"><span class="glyphicon glyphicon-refresh spin2"></span><span style="font-family:Calibri; margin-left: 10px;">Sending...</span></span>
                            <!--<span ng-if="auth.submitClass == null"><span class="glyphicon glyphicon-refresh spin2"></span><span style="font-family:Calibri; margin-left: 10px;">Sending...</span></span>-->
                        </button>
                    </div>                    
                </div>
                <div id="forgotPasswordError" class="error_password" style="min-height: 18px;" compile="auth.usercredentials.errorMessage" data-ng-show="auth.usercredentials.errorMessage.length > 0">
                </div>
            </form>
        </div>
    </div>
</div>